/**
 * 
 */
package com.wistech.search.solr.dict;

import java.util.LinkedHashSet;
import java.util.Set;

/**
 * @author Liuye
 * 
 */
public class Dict {
	/**
	 * 词库名称
	 */
	private String name;
	/**
	 * 词库类型
	 */
	private String type;
	/**
	 * 词库描述
	 */
	private String description;
	/**
	 * 词库示例
	 */
	private String sample;
	/**
	 * 
	 * 词语
	 */
	private Set<String> terms = new LinkedHashSet<String>();

	/**
	 * @return the terms
	 */
	public Set<String> getTerms() {
		return terms;
	}

	/**
	 * @param terms
	 *            the terms to set
	 */
	public void setTerms(Set<String> terms) {
		this.terms = terms;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getSample() {
		return sample;
	}

	public void setSample(String sample) {
		this.sample = sample;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
